#include<bits/stdc++.h>
using namespace std;
int main()
{
	double a,b;
	cin>>a>>b;
	printf("%f=%d+%.5f\n",a,(int)a,a-(int)a);
	printf("%.2f,%10.5f",b,b);
    return 0;
}

